package com.memory.modules.business.service.user;

import com.memory.modules.business.domain.user.IssueRecord;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.Optional;

/**
 * @PackageName: com.memory.modules.business.service.user
 * @ClassName: IssueRecordService
 * @Description:
 * @author: zhuguangxun
 * @date 2021/3/10
 */
public interface IssueRecordService {
    IssueRecord create(IssueRecord record);

    Page<IssueRecord> findPage(Example<IssueRecord> example);

    Optional<IssueRecord> create(String openId, String message);
}
